package com.hava.eb.entity;

import java.util.List;

/**
 * Created by yanfa on 2016/10/9.
 */
public class User {
    public int id;

    public String userName;

    public String tel;

    public List<Integer> products;

    // Getter and Setter

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public List<Integer> getProducts() {
        return products;
    }

    public void setProducts(List<Integer> products) {
        this.products = products;
    }

    // resultMap need
//    public User(Integer id,String userName,String tel)
//    {
//        this.id = id;
//        this.userName = userName;
//        this.tel = tel;
//    }
}
